from django.db import models

# Create your models here.
class DemoUser(models.Model):
    Id = models.AutoField(primary_key=True)
    Name = models.CharField(max_length=100)
    Age = models.IntegerField()
    Email = models.EmailField()
    CreatedAt = models.DateTimeField(auto_now_add=True,editable=True)
    UpdatedAt = models.DateTimeField(auto_now=True)

    # class Meta:
        # models = 'demo_user'
        # get_latest_by = 'created_at'
        # fields='__all__'